<!DOCTYPE html>
<html lang="zh-tw">
<head prefix="og: http://ogp.me/ns#">
  <meta charset="utf-8">
  <title>配置 | Hexo</title>
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- Canonical links -->
  <link rel="canonical" href="https://hexo.io/zh-tw/docs/configuration.html">
  <!-- Alternative links -->
  
    
      <link rel="alternative" hreflang="en" href="https://hexo.io/docs/configuration.html">
    
      <link rel="alternative" hreflang="zh-tw" href="https://hexo.io/zh-tw/docs/configuration.html">
    
      <link rel="alternative" hreflang="zh-cn" href="https://hexo.io/zh-cn/docs/configuration.html">
    
      <link rel="alternative" hreflang="ru" href="https://hexo.io/ru/docs/configuration.html">
    
      <link rel="alternative" hreflang="ko" href="https://hexo.io/ko/docs/configuration.html">
    
  
  <!-- Icon -->
  <link rel="apple-touch-icon" sizes="57x57" href="/icon/apple-touch-icon-57x57.png">
  <link rel="apple-touch-icon" sizes="114x114" href="/icon/apple-touch-icon-114x114.png">
  <link rel="apple-touch-icon" sizes="72x72" href="/icon/apple-touch-icon-72x72.png">
  <link rel="apple-touch-icon" sizes="144x144" href="/icon/apple-touch-icon-144x144.png">
  <link rel="apple-touch-icon" sizes="60x60" href="/icon/apple-touch-icon-60x60.png">
  <link rel="apple-touch-icon" sizes="120x120" href="/icon/apple-touch-icon-120x120.png">
  <link rel="apple-touch-icon" sizes="76x76" href="/icon/apple-touch-icon-76x76.png">
  <link rel="apple-touch-icon" sizes="152x152" href="/icon/apple-touch-icon-152x152.png">
  <link rel="icon" type="image/png" href="/icon/favicon-196x196.png" sizes="196x196">
  <link rel="icon" type="image/png" href="/icon/favicon-160x160.png" sizes="160x160">
  <link rel="icon" type="image/png" href="/icon/favicon-96x96.png" sizes="96x96">
  <link rel="icon" type="image/png" href="/icon/favicon-16x16.png" sizes="16x16">
  <link rel="icon" type="image/png" href="/icon/favicon-32x32.png" sizes="32x32">
  <meta name="msapplication-TileColor" content="#2f83cd">
  <meta name="msapplication-TileImage" content="/icon/mstile-144x144.png">
  <!-- CSS -->
  <!-- build:css build/css/navy.css -->
  <link rel="stylesheet" href="/css/navy.css">
  <!-- endbuild -->
  <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700" rel="stylesheet" type="text/css">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css">
  <!-- RSS -->
  <link rel="alternate" href="/atom.xml" title="Hexo">
  <!-- Open Graph -->
  <meta name="description" content="您可以在 _config.yml 或 替代配置檔 中修改網站配置。 網站   設定 描述     title 網站標題   subtitle 網站副標題   description 網站描述   author 您的名字   language 網站使用的語言，參考 2-lettter ISO-639-1 code，預設為 en   timezone 網站時區，Hexo 預設使用您電腦的時區，您可以在">
<meta property="og:type" content="website">
<meta property="og:title" content="配置">
<meta property="og:url" content="https://hexo.io/zh-tw/docs/configuration.html">
<meta property="og:site_name" content="Hexo">
<meta property="og:description" content="您可以在 _config.yml 或 替代配置檔 中修改網站配置。 網站   設定 描述     title 網站標題   subtitle 網站副標題   description 網站描述   author 您的名字   language 網站使用的語言，參考 2-lettter ISO-639-1 code，預設為 en   timezone 網站時區，Hexo 預設使用您電腦的時區，您可以在">
<meta property="og:locale" content="zh-tw">
<meta property="og:updated_time" content="2017-12-06T21:52:16.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="配置">
<meta name="twitter:description" content="您可以在 _config.yml 或 替代配置檔 中修改網站配置。 網站   設定 描述     title 網站標題   subtitle 網站副標題   description 網站描述   author 您的名字   language 網站使用的語言，參考 2-lettter ISO-639-1 code，預設為 en   timezone 網站時區，Hexo 預設使用您電腦的時區，您可以在">
<meta name="twitter:site" content="hexojs">
<meta property="fb:admins" content="100000247608790">
  <!-- Google Analytics -->
  
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-48498357-3', 'auto');
  ga('send', 'pageview');
</script>

</head>

<body>
  <div id="container">
    <header id="header" class="wrapper">
  <div id="header-inner" class="inner">
    <h1 id="logo-wrap">
      <a href="/zh-tw/" id="logo">Hexo</a>
    </h1>
    <nav id="main-nav">
      <a href="/zh-tw/docs/" class="main-nav-link">文件</a><a href="/zh-tw/api/" class="main-nav-link">API</a><a href="/news/" class="main-nav-link">新聞</a><a href="/plugins/" class="main-nav-link">外掛</a><a href="/themes/" class="main-nav-link">主題</a>
      <a href="https://github.com/hexojs/hexo" class="main-nav-link"><i class="fa fa-github-alt"></i></a>
      <div id="search-input-wrap">
        <div id="search-input-icon">
          <i class="fa fa-search"></i>
        </div>
        <input type="search" id="search-input" placeholder="Search...">
      </div>
    </nav>
    <div id="lang-select-wrap">
      <label id="lang-select-label"><i class="fa fa-globe"></i><span>正體中文</span></label>
      <select id="lang-select" data-canonical="docs/configuration.html">
        
          <option value="en">English</option>
        
          <option value="zh-tw" selected>正體中文</option>
        
          <option value="zh-cn">简体中文</option>
        
          <option value="ru">Русский</option>
        
          <option value="ko">한국어</option>
        
      </select>
    </div>
    <a id="mobile-nav-toggle">
      <span class="mobile-nav-toggle-bar"></span>
      <span class="mobile-nav-toggle-bar"></span>
      <span class="mobile-nav-toggle-bar"></span>
    </a>
  </div>
</header>

    <div id="content-wrap">
  <div id="content" class="wrapper">
    <div id="content-inner">
      <article class="article-container" itemscope itemtype="http://schema.org/Article">
        <div class="article-inner">
          <div class="article">
            <div class="inner">
              <header class="article-header">
                <h1 class="article-title" itemprop="name">配置</h1>
                <a href="https://github.com/hexojs/site/edit/master/source/zh-tw/docs/configuration.md" class="article-edit-link" title="改善這篇文件"><i class="fa fa-pencil"></i></a>
              </header>
              <div class="article-content" itemprop="articleBody">
                <p>您可以在 <code>_config.yml</code> 或 <a href="#Using-an-Alternate-Config">替代配置檔</a> 中修改網站配置。</p>
<h3 id="網站" class="article-heading"><a href="#網站" class="headerlink" title="網站"></a>網站<a class="article-anchor" href="#網站" aria-hidden="true"></a></h3><table>
<thead>
<tr>
<th>設定</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>title</code></td>
<td>網站標題</td>
</tr>
<tr>
<td><code>subtitle</code></td>
<td>網站副標題</td>
</tr>
<tr>
<td><code>description</code></td>
<td>網站描述</td>
</tr>
<tr>
<td><code>author</code></td>
<td>您的名字</td>
</tr>
<tr>
<td><code>language</code></td>
<td>網站使用的語言，參考 <a href="https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes" target="_blank" rel="noopener">2-lettter ISO-639-1 code</a>，預設為 <code>en</code></td>
</tr>
<tr>
<td><code>timezone</code></td>
<td>網站時區，Hexo 預設使用您電腦的時區，您可以在 <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones" target="_blank" rel="noopener">時區列表</a> 尋找適當的時區，例如 <code>America/New_York</code> 、 <code>Japan</code> 與 <code>UTC</code></td>
</tr>
</tbody>
</table>
<h3 id="網址" class="article-heading"><a href="#網址" class="headerlink" title="網址"></a>網址<a class="article-anchor" href="#網址" aria-hidden="true"></a></h3><table>
<thead>
<tr>
<th>設定</th>
<th>描述</th>
<th>預設值</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>url</code></td>
<td>網站的網址</td>
<td></td>
</tr>
<tr>
<td><code>root</code></td>
<td>網站的根目錄</td>
<td></td>
</tr>
<tr>
<td><code>permalink</code></td>
<td>文章 <a href="permalinks.html">永久連結</a> 的格式</td>
<td><code>:year/:month/:day/:title/</code></td>
</tr>
<tr>
<td><code>permalink_defaults</code></td>
<td><code>permalink</code> 中各區段的預設值</td>
<td></td>
</tr>
</tbody>
</table>
<blockquote class="note info"><strong class="note-title">網站存放在子目錄</strong><p>如果您的網站存放在子目錄中，例如 <code>http://example.org/blog</code>，請將您的 <code>url</code> 設為 <code>http://example.org/blog</code> 並把 <code>root</code> 設為 <code>/blog/</code>。</p>
</blockquote>
<h3 id="目錄" class="article-heading"><a href="#目錄" class="headerlink" title="目錄"></a>目錄<a class="article-anchor" href="#目錄" aria-hidden="true"></a></h3><table>
<thead>
<tr>
<th>設定</th>
<th>描述</th>
<th>預設值</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>source_dir</code></td>
<td>原始檔案資料夾，這個資料夾用於存放您的內容</td>
<td><code>source</code></td>
</tr>
<tr>
<td><code>public_dir</code></td>
<td>靜態檔案資料夾，這個資料夾用於存放建立完畢的檔案</td>
<td>public</td>
</tr>
<tr>
<td><code>tag_dir</code></td>
<td>標籤資料夾</td>
<td><code>tags</code></td>
</tr>
<tr>
<td><code>archive_dir</code></td>
<td>彙整資料夾</td>
<td><code>archives</code></td>
</tr>
<tr>
<td><code>category_dir</code></td>
<td>分類資料夾</td>
<td><code>categories</code></td>
</tr>
<tr>
<td><code>code_dir</code></td>
<td>Include code 資料夾</td>
<td><code>downloads/code</code></td>
</tr>
<tr>
<td><code>i18n_dir</code></td>
<td>國際化（i18n）資料夾</td>
<td><code>:lang</code></td>
</tr>
<tr>
<td><code>skip_render</code></td>
<td>跳過指定檔案的渲染，您可使用 <a href="https://github.com/isaacs/minimatch" target="_blank" rel="noopener">glob 表達式</a> 來配對路徑</td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="寫作" class="article-heading"><a href="#寫作" class="headerlink" title="寫作"></a>寫作<a class="article-anchor" href="#寫作" aria-hidden="true"></a></h3><table>
<thead>
<tr>
<th>設定</th>
<th>描述</th>
<th>預設值</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>new_post_name</code></td>
<td>新文章的檔案名稱</td>
<td><code>:title.md</code></td>
</tr>
<tr>
<td><code>default_layout</code></td>
<td>預設佈局</td>
<td><code>post</code></td>
</tr>
<tr>
<td><code>auto_spacing</code></td>
<td>在西方文字與東方文字中加入空白</td>
<td><code>false</code></td>
</tr>
<tr>
<td><code>titlecase</code></td>
<td>把標題轉換為 title case</td>
<td><code>false</code></td>
</tr>
<tr>
<td><code>external_link</code></td>
<td>在新頁籤中開啟連結</td>
<td><code>true</code></td>
</tr>
<tr>
<td><code>filename_case</code></td>
<td>把檔案名稱轉換為: <code>1</code> 小寫或 <code>2</code> 大寫</td>
<td><code>0</code></td>
</tr>
<tr>
<td><code>render_drafts</code></td>
<td>顯示草稿</td>
<td><code>false</code></td>
</tr>
<tr>
<td><code>post_asset_folder</code></td>
<td>啟動 <a href="asset-folders.html">Asset 資料夾</a></td>
<td><code>false</code></td>
</tr>
<tr>
<td><code>relative_link</code></td>
<td>把連結改為與根目錄的相對位址</td>
<td><code>false</code></td>
</tr>
<tr>
<td><code>future</code></td>
<td>顯示未來的文章</td>
<td><code>true</code></td>
</tr>
<tr>
<td><code>highlight</code></td>
<td>程式碼區塊的設定</td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="分類-amp-標籤" class="article-heading"><a href="#分類-amp-標籤" class="headerlink" title="分類 &amp; 標籤"></a>分類 &amp; 標籤<a class="article-anchor" href="#分類-amp-標籤" aria-hidden="true"></a></h3><table>
<thead>
<tr>
<th>設定</th>
<th>描述</th>
<th>預設值</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>default_category</code></td>
<td>預設分類</td>
<td><code>uncategorized</code></td>
</tr>
<tr>
<td><code>category_map</code></td>
<td>分類別名</td>
<td></td>
</tr>
<tr>
<td><code>tag_map</code></td>
<td>標籤別名</td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="日期-時間格式" class="article-heading"><a href="#日期-時間格式" class="headerlink" title="日期 / 時間格式"></a>日期 / 時間格式<a class="article-anchor" href="#日期-時間格式" aria-hidden="true"></a></h3><p>Hexo 使用 <a href="http://momentjs.com/" target="_blank" rel="noopener">Moment.js</a> 來解析和顯示時間。</p>
<table>
<thead>
<tr>
<th>設定</th>
<th>描述</th>
<th>預設值</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>date_format</code></td>
<td>日期格式</td>
<td><code>YYYY-MM-DD</code></td>
</tr>
<tr>
<td><code>time_format</code></td>
<td>時間格式</td>
<td><code>HH:mm:ss</code></td>
</tr>
</tbody>
</table>
<h3 id="分頁" class="article-heading"><a href="#分頁" class="headerlink" title="分頁"></a>分頁<a class="article-anchor" href="#分頁" aria-hidden="true"></a></h3><table>
<thead>
<tr>
<th>設定</th>
<th>描述</th>
<th>預設值</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>per_page</code></td>
<td>一頁顯示的文章量 (<code>0</code> = 關閉分頁功能)</td>
<td><code>10</code></td>
</tr>
<tr>
<td><code>pagination_dir</code></td>
<td>分頁目錄</td>
<td><code>page</code></td>
</tr>
</tbody>
</table>
<h3 id="擴充套件" class="article-heading"><a href="#擴充套件" class="headerlink" title="擴充套件"></a>擴充套件<a class="article-anchor" href="#擴充套件" aria-hidden="true"></a></h3><table>
<thead>
<tr>
<th>設定</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>theme</code></td>
<td>使用主題名稱, 設為 <code>false</code> 表示關閉主題功能</td>
</tr>
<tr>
<td><code>deploy</code></td>
<td>佈署設定</td>
</tr>
</tbody>
</table>
<h3 id="包含-排除-檔案或資料夾" class="article-heading"><a href="#包含-排除-檔案或資料夾" class="headerlink" title="包含/排除 檔案或資料夾"></a>包含/排除 檔案或資料夾<a class="article-anchor" href="#包含-排除-檔案或資料夾" aria-hidden="true"></a></h3><p>Hexo 會根據配置檔中 <code>include</code> / <code>exlude</code> 欄位設定，了解要 處理/忽略 哪些特定的檔案或資料夾。</p>
<table>
<thead>
<tr>
<th>設定</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>include</code></td>
<td>Hexo 預設會忽略隱藏檔與隱藏資料夾，但列在這個欄位中的檔案，Hexo 仍然會去處理</td>
</tr>
<tr>
<td><code>exclude</code></td>
<td>列在這裡的檔案將會被 Hexo 忽略</td>
</tr>
</tbody>
</table>
<p>範例:<br><figure class="highlight yaml"><table><tr><td class="code"><pre><span class="line"><span class="comment"># 包含/排除 檔案或資料夾</span></span><br><span class="line"><span class="attr">include:</span></span><br><span class="line"><span class="bullet">  -</span> <span class="string">.nojekyll</span></span><br><span class="line"><span class="attr">exclude:</span></span><br><span class="line"><span class="bullet">  -</span> <span class="string">.DS_Store</span></span><br></pre></td></tr></table></figure></p>
<h3 id="使用替代配置檔" class="article-heading"><a href="#使用替代配置檔" class="headerlink" title="使用替代配置檔"></a>使用替代配置檔<a class="article-anchor" href="#使用替代配置檔" aria-hidden="true"></a></h3><p>使用 <code>hexo</code> 指令時，只要在指令後面加上 <code>--config</code> 參數與自訂配置檔 (需為 JSON 或 YAML 檔) 路徑即可指定此次想要搭配使用的配置檔。該參數也可以是以逗號分隔的檔案列表 (注意中間不得有空格) 來滿足一次使用多個配置檔的需求。</p>
<p>範例:</p>
<figure class="highlight bash"><table><tr><td class="code"><pre><span class="line"><span class="comment"># 使用自訂的 'custom.yml' 取代預設的 '_config.yml'</span></span><br><span class="line">$ hexo server --config custom.yml</span><br><span class="line"></span><br><span class="line"><span class="comment"># 使用多個配置檔, 有衝突時優先使用 'custom2.json'</span></span><br><span class="line">$ hexo server --config custom.yml,custom2.json</span><br></pre></td></tr></table></figure>
<p>使用多個配置檔會合併產生一個 <code>_multiconfig.yml</code>。當合併遇到衝突時，列在愈後面的檔案，有愈高的優先權。可以使用任意數量帶有任意層級物件的 JSON 或 YAML 檔。注意<strong>檔案列表字串中不得有空白</strong>。</p>
<p>以前述的多個配置檔範例來說明，若 <code>custom.yml</code> 中有 <code>foo: bar</code>，且 <code>custom2.json</code> 中有 <code>&quot;foo&quot;: &quot;dinosaur&quot;</code>，最終在 <code>_multiconfig.yml</code> 裡的將會是 <code>foo: dinosaur</code>。</p>

              </div>
              <footer class="article-footer">
                <time class="article-footer-updated" datetime="2017-12-06T21:52:16.000Z" itemprop="dateModified">上次更新：2017-12-06</time>
                <a href="setup.html" class="article-footer-prev" title="建立"><i class="fa fa-chevron-left"></i><span>上一頁</span></a><a href="commands.html" class="article-footer-next" title="指令"><span>下一頁</span><i class="fa fa-chevron-right"></i></a>
              </footer>
              
<section id="comments">
  <div id="disqus_thread"></div>
</section>
<script>
  var disqus_shortname = 'hexojs';
  var disqus_url = 'https://hexo.io/zh-tw/docs/configuration.html';
  var disqus_title = "配置";
  var disqus_config = function(){
    this.language = 'zh_TW';
  };
  (function(){
    var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
    dsq.src = 'https://go.disqus.com/embed.js';
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
  })();
</script>

            </div>
          </div>
          <aside id="article-toc" role="navigation">
            <div id="article-toc-inner">
              <script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=hexoio" id="_carbonads_js"></script>
              <strong class="sidebar-title">目錄</strong>
              <ol class="toc"><li class="toc-item toc-level-3"><a class="toc-link" href="#網站"><span class="toc-text"><a href="#&#x7DB2;&#x7AD9;" class="headerlink" title="&#x7DB2;&#x7AD9;"></a>&#x7DB2;&#x7AD9;</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#網址"><span class="toc-text"><a href="#&#x7DB2;&#x5740;" class="headerlink" title="&#x7DB2;&#x5740;"></a>&#x7DB2;&#x5740;</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#目錄"><span class="toc-text"><a href="#&#x76EE;&#x9304;" class="headerlink" title="&#x76EE;&#x9304;"></a>&#x76EE;&#x9304;</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#寫作"><span class="toc-text"><a href="#&#x5BEB;&#x4F5C;" class="headerlink" title="&#x5BEB;&#x4F5C;"></a>&#x5BEB;&#x4F5C;</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#分類-amp-標籤"><span class="toc-text"><a href="#&#x5206;&#x985E;-amp-&#x6A19;&#x7C64;" class="headerlink" title="&#x5206;&#x985E; &amp; &#x6A19;&#x7C64;"></a>&#x5206;&#x985E; &amp; &#x6A19;&#x7C64;</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#日期-時間格式"><span class="toc-text"><a href="#&#x65E5;&#x671F;-&#x6642;&#x9593;&#x683C;&#x5F0F;" class="headerlink" title="&#x65E5;&#x671F; / &#x6642;&#x9593;&#x683C;&#x5F0F;"></a>&#x65E5;&#x671F; / &#x6642;&#x9593;&#x683C;&#x5F0F;</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#分頁"><span class="toc-text"><a href="#&#x5206;&#x9801;" class="headerlink" title="&#x5206;&#x9801;"></a>&#x5206;&#x9801;</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#擴充套件"><span class="toc-text"><a href="#&#x64F4;&#x5145;&#x5957;&#x4EF6;" class="headerlink" title="&#x64F4;&#x5145;&#x5957;&#x4EF6;"></a>&#x64F4;&#x5145;&#x5957;&#x4EF6;</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#包含-排除-檔案或資料夾"><span class="toc-text"><a href="#&#x5305;&#x542B;-&#x6392;&#x9664;-&#x6A94;&#x6848;&#x6216;&#x8CC7;&#x6599;&#x593E;" class="headerlink" title="&#x5305;&#x542B;/&#x6392;&#x9664; &#x6A94;&#x6848;&#x6216;&#x8CC7;&#x6599;&#x593E;"></a>&#x5305;&#x542B;/&#x6392;&#x9664; &#x6A94;&#x6848;&#x6216;&#x8CC7;&#x6599;&#x593E;</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#使用替代配置檔"><span class="toc-text"><a href="#&#x4F7F;&#x7528;&#x66FF;&#x4EE3;&#x914D;&#x7F6E;&#x6A94;" class="headerlink" title="&#x4F7F;&#x7528;&#x66FF;&#x4EE3;&#x914D;&#x7F6E;&#x6A94;"></a>&#x4F7F;&#x7528;&#x66FF;&#x4EE3;&#x914D;&#x7F6E;&#x6A94;</span></a></li></ol>
              <a href="#" id="article-toc-top">回到頁首</a>
            </div>
          </aside>
        </div>
      </article>
      <aside id="sidebar" role="navigation">
  <div class="inner">
    <strong class="sidebar-title">開始使用</strong><a href="index.html" class="sidebar-link">概覽</a><a href="setup.html" class="sidebar-link">建立</a><a href="configuration.html" class="sidebar-link current">配置</a><a href="commands.html" class="sidebar-link">指令</a><a href="migration.html" class="sidebar-link">轉移</a><strong class="sidebar-title">基本操作</strong><a href="writing.html" class="sidebar-link">寫作</a><a href="front-matter.html" class="sidebar-link">Front-matter</a><a href="tag-plugins.html" class="sidebar-link">標籤外掛</a><a href="asset-folders.html" class="sidebar-link">資產資料夾</a><a href="data-files.html" class="sidebar-link">資料檔案</a><a href="server.html" class="sidebar-link">伺服器</a><a href="generating.html" class="sidebar-link">產生檔案</a><a href="deployment.html" class="sidebar-link">佈署</a><strong class="sidebar-title">自定</strong><a href="permalinks.html" class="sidebar-link">永久連結</a><a href="themes.html" class="sidebar-link">主題</a><a href="templates.html" class="sidebar-link">模版</a><a href="variables.html" class="sidebar-link">變數</a><a href="helpers.html" class="sidebar-link">輔助函數</a><a href="internationalization.html" class="sidebar-link">國際化 (i18n)</a><a href="plugins.html" class="sidebar-link">外掛</a><strong class="sidebar-title">其他</strong><a href="troubleshooting.html" class="sidebar-link">解決問題</a><a href="contributing.html" class="sidebar-link">貢獻</a>
  </div>
</aside>
    </div>
  </div>
</div>

    <footer id="footer" class="wrapper">
  <div class="inner">
    <div id="footer-copyright">
      &copy; 2017 <a href="https://github.com/hexojs/hexo/graphs/contributors" target="_blank">Hexo</a><br>
      Documentation licensed under <a href="http://creativecommons.org/licenses/by/4.0/" target="_blank">CC BY 4.0</a>.
    </div>
    <div id="footer-links">
      <a href="https://twitter.com/hexojs" class="footer-link" target="_blank"><i class="fa fa-twitter"></i></a>
      <a href="https://github.com/hexojs/hexo" class="footer-link" target="_blank"><i class="fa fa-github-alt"></i></a>
    </div>
  </div>
</footer>

  </div>
  <div id="mobile-nav-dimmer"></div>
  <nav id="mobile-nav">
  <div id="mobile-nav-inner">
    <ul id="mobile-nav-list">
      <a href="/zh-tw/docs/" class="mobile-nav-link">文件</a><a href="/zh-tw/api/" class="mobile-nav-link">API</a><a href="/news/" class="mobile-nav-link">新聞</a><a href="/plugins/" class="mobile-nav-link">外掛</a><a href="/themes/" class="mobile-nav-link">主題</a>
      <li class="mobile-nav-item">
        <a href="https://github.com/hexojs/hexo" class="mobile-nav-link" rel="external" target="_blank">GitHub</a>
      </li>
    </ul>
    
      <strong class="mobile-nav-title">開始使用</strong><a href="index.html" class="mobile-nav-link">概覽</a><a href="setup.html" class="mobile-nav-link">建立</a><a href="configuration.html" class="mobile-nav-link current">配置</a><a href="commands.html" class="mobile-nav-link">指令</a><a href="migration.html" class="mobile-nav-link">轉移</a><strong class="mobile-nav-title">基本操作</strong><a href="writing.html" class="mobile-nav-link">寫作</a><a href="front-matter.html" class="mobile-nav-link">Front-matter</a><a href="tag-plugins.html" class="mobile-nav-link">標籤外掛</a><a href="asset-folders.html" class="mobile-nav-link">資產資料夾</a><a href="data-files.html" class="mobile-nav-link">資料檔案</a><a href="server.html" class="mobile-nav-link">伺服器</a><a href="generating.html" class="mobile-nav-link">產生檔案</a><a href="deployment.html" class="mobile-nav-link">佈署</a><strong class="mobile-nav-title">自定</strong><a href="permalinks.html" class="mobile-nav-link">永久連結</a><a href="themes.html" class="mobile-nav-link">主題</a><a href="templates.html" class="mobile-nav-link">模版</a><a href="variables.html" class="mobile-nav-link">變數</a><a href="helpers.html" class="mobile-nav-link">輔助函數</a><a href="internationalization.html" class="mobile-nav-link">國際化 (i18n)</a><a href="plugins.html" class="mobile-nav-link">外掛</a><strong class="mobile-nav-title">其他</strong><a href="troubleshooting.html" class="mobile-nav-link">解決問題</a><a href="contributing.html" class="mobile-nav-link">貢獻</a>
    
  </div>
  <div id="mobile-lang-select-wrap">
    <span id="mobile-lang-select-label"><i class="fa fa-globe"></i><span>正體中文</span></span>
    <select id="mobile-lang-select" data-canonical="docs/configuration.html">
      
        <option value="en">English</option>
      
        <option value="zh-tw" selected>正體中文</option>
      
        <option value="zh-cn">简体中文</option>
      
        <option value="ru">Русский</option>
      
        <option value="ko">한국어</option>
      
    </select>
  </div>
</nav>
  <!-- Scripts -->
<!-- build:js build/js/main.js -->
<script src="/js/lang_select.js"></script>
<script src="/js/toc.js"></script>
<script src="/js/mobile_nav.js"></script>
<!-- endbuild -->

<!-- Algolia -->

<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script>
<script type="text/javascript">
document.getElementById('search-input-wrap').classList.add('on');
docsearch({
  apiKey: 'c83d2ec3440f40aec6d0e695ecec7ef3',
  indexName: 'hexo_zh-tw',
  inputSelector: '#search-input'
});
</script>


</body>
</html>